import React from 'react';
import Button from './button'
import qqq from 'prop-types'
class App extends React.Component {
    static contextTypes = {
      theme:qqq.string
    }
    render() {
        console.log(this.context.theme  = 'blue')
        return <div className=''>
          <h2>哈哈哈哈</h2>
          <Button>按钮</Button>
        </div>;
    }
}
export default App